feat(skills): add Copilot/Claude agent definitions and skill scripts for automated PR & issue workflows#45883
feat(skills): add Copilot/Claude agent definitions and skill scripts for automated PR & issue workflows#45883yeelam-gordon wants to merge 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
check-spelling found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (42)These words are not needed and should be removedMDL WINVERTo accept these unrecognized words as correct and remove the previously acknowledged and now absent words, you could run the following commands... in a clone of the git@github.com:microsoft/PowerToys.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/c635c2f3f714eec2fcf27b643a1919b9a811ef2e/apply.pl' |
perl - 'https://github.com/microsoft/PowerToys/actions/runs/22573170618/attempts/1' &&
git commit -m 'Update check-spelling metadata'Forbidden patterns 🙅 (5)In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves. These forbidden patterns matched content: Complete sentences in parentheticals should not have a space before the period.Should be
|
| ❌ Errors and Warnings | Count |
|---|---|
| ❌ forbidden-pattern | 5 |
| 3 |
See ❌ Event descriptions for more information.
If the flagged items are 🤯 false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it,
try adding it to thepatterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
Summary of the Pull Request
Adds 10 new GitHub Copilot/Claude skill definitions and 8 agent definitions that enable automated end-to-end PR and issue workflows from the CLI. This includes PR review, PR triage, PR fix, PR rework, issue review, issue fix, issue-to-PR lifecycle, review-the-review feedback loops, continuous issue triage, and a shared parallel-job orchestrator.
All scripts support both GitHub Copilot CLI and Claude Code CLI, with dynamic
$_cfgDirresolution for dual.github/and.claude/root awareness. Worktree-based workflows copy the full config directory (agents, skills, instructions, prompts, top-level instruction files) into worktrees so the CLI can resolve--agentdefinitions and MCP config in isolated branches.PR Checklist
Parser::ParseFileand dry-run invocations.SKILL.mdwith usage documentation.Detailed Description of the Pull Request / Additional comments
Agent definitions (
.github/agents/)8 goal-oriented agent files for both Copilot and Claude CLIs:
ReviewPRFixPRTriagePRReviewIssuePlanIssueFixIssueIssueToPRReviewTheReviewSkill scripts (
.github/skills/)pr-reviewpr-triagepr-fixpr-reworkcontinuous-issue-triageissue-reviewissue-review-reviewissue-fixissue-to-pr-cycleparallel-job-orchestratorOther files
.github/review-tools/Start-PrReviewBatch.ps1— batch runner for PR review across multiple PRsKey design decisions
$_cfgDirdynamically from$PSScriptRootto support both.github/(Copilot) and.claude/(Claude) directory structures.Start-PRRework.ps1,Start-IssueAutoFix.ps1) and scripts that operate in worktrees (Start-PRFix.ps1) copyagents/,skills/,instructions/,prompts/, and top-level instruction files using "copy if not exist" semantics.--agentflag: Every CLI invocation specifies--agent <AgentName>to ensure the correct agent definition is loaded.Validation Steps Performed
[Parser]::ParseFileconfirms zero parse errors on all.ps1scripts.Start-PRRework.ps1with-MaxIterations 1 -SkipTests -ReviewTimeoutMin 1.grepverification confirms--agentflag present in all CLI invocation sites with correct agent names.grepverification confirms zero remaining hardcoded.github/skills/or.github/prompts/paths inJoin-Pathcalls.